﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
		// add root
		customParam.Controls.Add(new LiteralControl(System.String.Format("<param name=\"initParams\" value=\"root={0}\" />", RootVisual)));
    }

	/// <summary>
	/// Root visual param
	/// </summary>
	public System.String RootVisual
	{
		get { return Request["root"]; }
	}
}